package cn.zxcoder.entity.SystemManage;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.xml.crypto.Data;

/**
 * <p>
 * 公司信息表
 * </p>
 *
 * @author zx
 * @since 2023-05-08
 */
@ApiModel(value = "Dept对象", description = "公司信息表")
public class Dept implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("部门名称")
    private String name;

    @ApiModelProperty("部门代码")
    private String code;

    @ApiModelProperty("编辑时间")
    private Date editTime;

    @ApiModelProperty("编辑用户")
    private String editUser;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
    public Date getEditTime() {
        return editTime;
    }

    public void setEditTime(Date editTime) {
        this.editTime = editTime;
    }
    public String getEditUser() {
        return editUser;
    }

    public void setEditUser(String editUser) {
        this.editUser = editUser;
    }

    @Override
    public String toString() {
        return "Dept{" +
            "id=" + id +
            ", name=" + name +
            ", code=" + code +
            ", editTime=" + editTime +
            ", editUser=" + editUser +
        "}";
    }
}
